package grape.workflow.rest.flowable.ui.admin;

import org.flowable.ui.admin.rest.client.CmmnTasksClientResource;
import org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * Created by yangwei
 * Created at 2020/6/4 13:19
 */
@ComponentScan(basePackages = {
        "org.flowable.ui.admin.rest",
        //"org.flowable.ui.common.rest"
},        excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = CmmnTasksClientResource.class),
})
@Configuration
public class AdminDispatcherServletConfiguration implements WebMvcRegistrations {
}
